from ftllibs.items.itemtools import ItemIconData

class Item_3180():
    def __init__(self):
        self.parent=False
        self.Name="Odyn's Veil"
        self.IconFileName="3180.png"
        self.ID=3180
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1057','3010','1028','1027']
        self.Builds_Into=[]
        self.Tags=['health','spell_block','mana']
        self.Costs = 650
        self.Total_Costs = 2715
        self.Description="+350 Health +350 Mana +50 Magic Resist  UNIQUE Passive: Reduces and stores 10% of the magic damage dealt to your champion.  UNIQUE Active: Deals 200 + (stored magic) [max: 400] magic damage to nearby enemy units (90 second cooldown)."
        self.RichText_Description=""
        self.has_active=True
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["dominion"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Health += 350.0
        self.parent.Mana += 350.0
        self.parent.Magic_Resist += 50.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

